/*
 * rule_lib.h
 *
 *  Created on: 2012/10/24
 *      Author: shenming
 */

#ifndef RULE_LIB_H_
#define RULE_LIB_H_

#include "typedef.h"

extern AST getFstUnpChdExp(AST exp);
extern BOOL isConstInitExp(AST index, AST * expInfo);
extern BOOL isDnInitExp(AST expInfo);
extern BOOL hasSideEffect(AST expInfo);
extern BOOL isStandardFor(AST stmt);
extern AST getForLoopCounter(AST stmt);

#endif /* RULE_LIB_H_ */
